import pandas as pd
import numpy as np

data = np.random.randint(10, 20, size=3)
index = ['A', 'B', 'C']
series = pd.Series(data=data, index=index, name="age", dtype=np.float32)

print(series)
print(series.iloc[0])
print(series.iloc[0:1])
print(series.loc['A'])

df = pd.DataFrame(series, columns=['age'])

print(df)
print(df.ndim)
print(df.shape)
print(df.values)

print(series.to_frame(name='python'))

data = np.random.randint(10, 20, size=3000)
series = pd.Series(data=data, name="age")
print(series.values)
print(series.index)
print(series.size)


